import { NestFactory } from '@nestjs/core';

import { AppModule } from './app.module';
import setupApp from './plugins/nest';

const app = await NestFactory.create(AppModule);

setupApp(app);

export { app };
